import 'package:flutter/material.dart';
import 'package:flutterapp2/base/base_test_widget.dart';

class TestKeyPage extends BaseTestWidget {
  String text = "test";

  @override
  Widget getBody(BuildContext context) {
    return ListView(
      children: <Widget>[
        Text(text),
        RaisedButton(
          onPressed: () {
            setState((){
              text = "haha";
            });
          },
        ),
      ],
    );
  }

  @override
  String getTitle() {
    return "test key";
  }
}
